/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package holdemdealer.cardchecker;

import card.entity.Card;
import deck.Deck;
import handflow.HandStatus;
import holdemdealer.deckgenerator.DeckGenerator;
import holdemdealer.deckshaker.DeckShaker;
import holdemdealer.players.PlayersList;
import java.util.ArrayList;

/**
 *
 * @author Администратор
 */
public class HandFlow {

    private static HandFlow instance;
    private HandStatus handStstus;
    private PlayersList playersList = PlayersList.instance();
    private Deck deck;
    private ArrayList<Card> currentDeal;

    private HandFlow() {
        handStstus = HandStatus.PREFLOP;
    }

    public static HandFlow instance() {
        if (instance == null) {
            instance = new HandFlow();
        }
        return instance;
    }

    public HandStatus getHandStstus() {
        return handStstus;
    }
    
    

    public Deck getDeck() {
        deck = DeckShaker.shuffleDeck(new DeckGenerator().generateDeck());
        return deck;
    }
}
